package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

import java.util.List;

@Data
@Builder
public class AiTimeResponse {
    @ApiModelProperty(value = "记录列表", dataType = "AiTimeResponse.Record")
    private PageResponse2<Record> recordPage;

    @ApiModel("AiTimeResponse.Record")
    @Data
    @Builder
    public static class Record {
        @ApiModelProperty("访问时间,时间戳")
        private Long time;
        @ApiModelProperty("访客ID")
        private Integer userId;
        @ApiModelProperty("访客头像")
        private String userImg;
        @ApiModelProperty("访客名称")
        private String userName;
        @ApiModelProperty("是否新客:0不是 1是")
        private Integer newVisitor;
        @ApiModelProperty("内容")
        private String content;
        @ApiModelProperty("内容高亮")
        private List<String> contentHighlight;
    }
}
